﻿using IRepository;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConcreteService
{
    public class AdminService : CommonService
    {
        public JObject ListStudent( int start, int limit)
        {
            IAdminRepository repo = ServiceFactory.CreateInstance<IAdminRepository>();
            return repo.ListStudent(start, limit);
        }
    }
}
